#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <netinet/in.h>

#include "parse.h"
#include "network.h"
#include "config.h"

int listenfd, connectfd;

static char inbuf [ 2048 ];
static char outbuf[ 3072 ];

void mainloop( );


